package xinyou.jh.net.scene
{
	import events.BaseEvent;
	
	public class SceneNetEvent extends BaseEvent
	{
		/**
		 * 收到玩家基本信息
		 */		
		public static const USERINFO:String = "userinfo";
		/**
		 * 收到创建角色
		 */		
		public static const CREATEROLE:String = "createrole";
		/**
		 * 收到删除角色
		 */		
		public static const DELROLE:String = "delrole";
		/**
		 * 收到进入场景消息
		 */		
		public static const ENTERSCENE:String = "enterscene";
		/**
		 * 收到其他玩家进入视野
		 */		
		public static const PLAYERIN:String = "playerin";
		/**
		 * 收到怪物进入视野
		 */		
		public static const MONSTERIN:String = "monsterin";
		/**
		 * 收到怪物移动
		 */		
		public static const MONSTERMOVE:String = "monstermove";
		/**
		 * 收到其他玩家移动
		 */		
		public static const PLAYERMOVE:String = "playermove";
		/**
		 * 收到其他玩家离开视野
		 */		
		public static const PLAYERLEAVE:String = "playerleave";
		/**
		 * 收到怪物离开视野
		 */		
		public static const MONSTERLEAVE:String = "monsterleave";
		/**
		 * 收到玩家获得经验
		 */		
		public static const GETUSEREXP:String = "getuserexp";
		/**
		 * 收到玩家升级
		 */		
		public static const GETUSERLEVUP:String = "getuserlevup";
		public function SceneNetEvent(type:String, $data:*=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, $data, bubbles, cancelable);
		}
	}
}